package com.zl.autocode.service.autocode;

import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentAddDTO;
import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentDelDTO;
import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentDetailDTO;
import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentEditDTO;
import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentQueryDTO;
import com.zl.autocode.dto.autocode.webComponent.ReqWebComponentStateDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentAddDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentDelDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentDetailDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentEditDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentQueryDTO;
import com.zl.autocode.dto.autocode.webComponent.ResWebComponentStateDTO;
import com.zl.common.dto.ReqDTO;
import com.zl.common.dto.pagination.PageReqVO;

/**
 * 前端组件
 * @author ZL
 */
public interface IWebComponentService {

    /**
     * 查询
     */
    ResWebComponentQueryDTO queryWebComponentList(ReqDTO<ReqWebComponentQueryDTO> reqInfo) throws Exception;
    
    /**
     * 详情
     */
    ResWebComponentDetailDTO queryWebComponentDetail(ReqDTO<ReqWebComponentDetailDTO> reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResWebComponentAddDTO insertWebComponentInfo(ReqDTO<ReqWebComponentAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResWebComponentEditDTO updateWebComponentInfo(ReqDTO<ReqWebComponentEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResWebComponentDelDTO deleteWebComponentInfo(ReqDTO<ReqWebComponentDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResWebComponentStateDTO updateWebComponentState(ReqDTO<ReqWebComponentStateDTO> reqInfo) throws Exception;
    
    
}